package com.xyy.saas.payment.cores.bo;


import java.io.Serializable;
import java.util.Date;

/**
 * @author wangtianqi
 * @date 2019/10/29 10:39
 */
public class PrepayBo implements Serializable {


    private static final long serialVersionUID = 2685405000919265075L;
    /**
     * 交易单号
     */
    private String payNo;

    /**
     * 业务订单号
     */
    private String businessPayNo;

    /**
     * 渠道订单号
     */
    private String channelPayNo;

    /**
     * 第三方渠道名
     */
    private String channel;

    /**
     * 业务类型
     */
    private String businessType;

    /**
     * 业务订单类型
     */
    private String orderType;

    /**
     * 交易金额(分)
     */
    private Integer amount;

    /**
     * 手续费（分）
     */
    private Integer fee;

    /**
     * 佣金(分)
     */
    private Integer commission;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 成功时间
     */
    private Date successTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 订单状态(0 未支付 1 已完成)
     */
    private Byte status;

    /**
     * 渠道支付单号
     */
    private String channelChargeNo;

    /**
     * 交易单支付渠道
     */
    private String payChannel;

    /**
     * 是否有退款(0 无退款 1退款中 2已退款)
     */
    private Byte refund;

    /**
     * 回调地址
     */
    private String callBackUrl;

    /**
     * 预支付信息
     */
    private String prepayInfo;

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getBusinessPayNo() {
        return businessPayNo;
    }

    public void setBusinessPayNo(String businessPayNo) {
        this.businessPayNo = businessPayNo;
    }

    public String getChannelPayNo() {
        return channelPayNo;
    }

    public void setChannelPayNo(String channelPayNo) {
        this.channelPayNo = channelPayNo;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getFee() {
        return fee;
    }

    public void setFee(Integer fee) {
        this.fee = fee;
    }

    public Integer getCommission() {
        return commission;
    }

    public void setCommission(Integer commission) {
        this.commission = commission;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getSuccessTime() {
        return successTime;
    }

    public void setSuccessTime(Date successTime) {
        this.successTime = successTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getChannelChargeNo() {
        return channelChargeNo;
    }

    public void setChannelChargeNo(String channelChargeNo) {
        this.channelChargeNo = channelChargeNo;
    }

    public String getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(String payChannel) {
        this.payChannel = payChannel;
    }

    public Byte getRefund() {
        return refund;
    }

    public void setRefund(Byte refund) {
        this.refund = refund;
    }

    public String getCallBackUrl() {
        return callBackUrl;
    }

    public void setCallBackUrl(String callBackUrl) {
        this.callBackUrl = callBackUrl;
    }

    public String getPrepayInfo() {
        return prepayInfo;
    }

    public void setPrepayInfo(String prepayInfo) {
        this.prepayInfo = prepayInfo;
    }

}
